update e2c 3

Documentation Version for Comments and Changes

You are invited to make any changes...add any comments.

Changes will `eventually` be merged into the offical documentation.

Leave any commnents here...

...

... back to index page OE documentation



compatible with your compiler, use the -debug option:

euc -debug myapp.ex 

-dll / -so - Shared Library

To make a shared dynamically loading library, just add -dll to the command line. e.g.

euc -dll mylib.ew 

Note: On *nix systems, you can also use -so. Both will produce a *nix shared library.

Please see Dynamic Link Libraries

-extra-cflags - Extra Compiler Flags

Supply extra compiler flags to suplement the flags used automatically by the translator or supplied via the -cflags option.

-extra-lflags - Extra Linker Flags

Supply extra linker flags to suplement the flags used automatically by the translator or supplied via the -lflags option.

-gcc, -wat

If you happen to have more than one C compiler for a given platform, you can select the one you want to use with a command-line option:

-wat  -- Watcom compiler 
-gcc  -- GCC compiler (MinGW on Windows) 

For example, to compile with GCC (or MinGW on Windows):

euc -gcc pretend.exw 

Note: Watcom is the default on Windows and -wat is assumed.

-keep

Normally, after building your .exe file, the translator will delete all C files and object files produced by the Translator. If you want it to keep these files, add the -keep option to the Translator command-line. e.g.

euc -keep sanity.ex 

-lflags FLAGS - Linker Flags

Specifies the flags to pass to the linker.

-lib - User defined library

It is sometimes useful to link your translated code to a Euphoria runtime library other than the default supplied library. This ability is probably mostly useful for testing and debugging the runtime library itself, or to give additional debugging information when debugging translated Euphoria code. Note that only the default library is supplied. Use the -lib {library} option:

Not Categorized, Please Help

Search



Quick Links

User menu

Not signed in.

Misc Menu